inspector: Add a first-time warning
authorMatthias Clasen <mclasen@redhat.com>
Sat, 17 May 2014 01:51:42 +0000 (21:51 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Sat, 17 May 2014 01:51:42 +0000 (21:51 -0400)
commitb4a57a0f0cabf671f90b255351b10c5165d6acd7
tree321f259ff3559f5336c450094b4e0c02b060c5e7
parent2bf654b35201ae24bb6086d56d5b4ee3375f08be
inspector: Add a first-time warning

With the keybinding, it is possible that users may trigger the
inspector unintentionally. Show a dialog that informs them about
whats going on and gives them a chance to back out.

The warning dialog can be bypassed with the
org.gtk.Settings.Debug inspector-warning setting.
gtk/gtkwindow.c
gtk/org.gtk.Settings.Debug.gschema.xml